using System;
using System.Xml.Serialization;

namespace week2_opdracht1
{
	/**
	 * Class for use with deserialization of XML.
	 * Matching the XML by using annotations
	 */
	[XmlRoot("nl.hanze.webservice.Student"), XmlType("nl.hanze.webservice.Student")]
	public class Student
	{
		[XmlElement("naam")]
		public string naam { get; set; }
		
		[XmlElement("leetijd")]
		public int leetijd { get; set; }
		
		[XmlElement("geslacht")]
		public bool geslacht { get; set; }
	}
}

